<template>
	<view class="">
		<u-popup v-model="showUploadTip" mode="center" width="680" height="900" border-radius="12">
			<view class="upload_tip_box">
				<view class="upload_title">
					根据有关部门要求，必须上传真实身份证照片。<span style="color: red;">未上传照片，订单无效。</span>
				</view>
				<view class="upload_box" v-for="item in uploadTipListNew" :key="item.id">
					<view class="content_img_box">
						<image :src="item.img" mode="widthFix" class="content_img"></image>
					</view>
					<view class="content_title">
						{{ item.title }}
					</view>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		props: ['uploadTipList'],
		data() {
			return {
				showUploadTip: false,
				uploadTipListNew: []
			}
		},
		watch: {
			uploadTipList: {
				handler(newVal) {
					this.uploadTipListNew = newVal
				},
				immediate: true
			},
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.upload_tip_box {
		font-size: 30rpx;
		padding: 30rpx;

		.upload_title {
			font-weight: 550;
			padding-bottom: 20rpx;
		}

		.upload_box {

			.content_img_box {
				width: 100%;

				.content_img {
					width: 100%;
				}
			}

			.content_title {
				font-weight: 400;
				padding: 20rpx 0;
			}
		}
	}
</style>